<%--
  Created by IntelliJ IDEA.
  User: zhao
  Date: 17-1-30
  Time: 下午12:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script src="/resource/js/main.js"></script>
    <script type="text/javascript" src="/resource/js/common.js"></script>

    <style>
        body,div,ul{margin:0px;padding:0px;}
        #container{
            width:1200px;
            margin:0 auto;
        }
        #Header{
            margin-bottom: 0px;
        }
        #Carousel{
            margin-top: 0px;
        }
        #Content{
            margin-top:20px;
        }
        #Footer{
            margin-top: 20px;
            background: yellow;
        }
        .clear{
            clear: both;
        }
        #tzgg{
            width:40%;
        }

        li{
            　　display:block;overflow:hidden;word-break:keep-all;white-space:nowrap;text-overflow:ellipsis;
        }

    </style>
    <script type="text/javascript">
        initNav()

    </script>

</head>
<body >
<div style="background-image:url('${pageContext.request.contextPath}/resource/img/bgimg.jpg')">

<div id="container">
    <jsp:include page="Head.jsp" />

    <div style="text-align:center;clear:both">
        <script src="/gg_bd_ad_720x90.js" type="text/javascript"></script>
        <script src="/follow.js" type="text/javascript"></script>
    </div>
    <div id="Content" class="row">

        <div id="content-main" style="float: left;width: 100%" >

            <%--母校动态--%>
            <div id="mxdt" style="fwidth: 100%;">
                <div class="panel panel-primary">
                    <div class="panel-heading">
                        <h4 class="panel-title" style="display: inline">搜索结果</h4>
                        <button class="btn btn-info btn-xs" style="float:right;margin-right: 10px" onclick="toAddress('/module/selectModule.do?id=1')">更多</button>
                    </div>
                    <div id="mxdt-body" class="panel-body">
                        <c:forEach items="${newsList}" var="news">
                            <div class="media">
                                <div class="media-body">
                                    <h4 class="media-heading">${news.title}</h4>
                                    ${news.intrduce}
                                </div>
                                <div class="media-right">
                                    <a href="/news/read.do?id=${news.id}">
                                        <img class="media-object" style="width: 64px;height:64px;" src="${news.thumbnailPath}" >
                                    </a>
                                </div>
                            </div>
                        </c:forEach>


                    </div>
                </div>

            </div>
        </div>



    </div>
</div>

</div>

<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</body>
<footer>
    <div id="Footer">
        <jsp:include page="footer.jsp"/>
    </div>
</footer>
</html>
